-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add frontend lint / tests to ci workflow #655
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so nice to have
do we ever plan on renaming frontend2 to frontend and then frontend to "old" or smth? if so, we'll have to make careful note to change this folder too, cuz it's not really a directory name in the same way in code as everything else to be fair, i think that errors will expose this too |
.github/workflows/ci.yml
Outdated
run: cd frontend2 && npm install | ||
- name: Check linting and formatting | ||
# Custom script for checking the linting and formatting being in place | ||
run: cd frontend2 && npm run lint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the working-directory
key in the example here.
GitHub workflow looks good to me! [modulo nit about using
This can be done already, can't it? If I understand correctly this branch has zero dependency on the contents of |
will put this into our roadmap |
The base branch was changed.
added a recommended plugin to eslint and required semicolons. |
makes frontend2 tests / linting run on each pr.